﻿using System;
using System.Collections.Generic;
using FluentValidation.Attributes;

namespace Giant.Web.MVC.Tests.Public.Validators
{
    [Validator(typeof(TestValidator))]
    public class Person
    {
        public string NameField;
        public int Id { get; set; }
        public string Surname { get; set; }
        public string Forename { get; set; }

        public List<Person> Children { get; set; }

        public DateTime DateOfBirth { get; set; }

        public int? NullableInt { get; set; }

        public Person()
        {
            Children = new List<Person>();
        }

        public int CalculateSalary()
        {
            return 20;
        }

        public string Email { get; set; }
        public double Age { get; set; }
        public int AnotherInt { get; set; }

    }


}
